package com.mkz.jbpm.service;

import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mkz.core.common.util.ResponseResult;
import com.mkz.jbpm.entity.LeaveInfo;

import io.swagger.annotations.ApiOperation;

/**
 * 请假信息
 *
 * @author KuangJianyu
 * @date 2020-03-31 14:27:15
 */
public interface LeaveInfoService extends IService<LeaveInfo> {
	/**
	 * @Description: 提交请假审批
	 * @param proDefKey
	 * @param busObj
	 * @param vars
	 * @return
	 * @throws Exception
	 * @author: KuangJianyu
	 * @date: 2020年4月4日
	 */
	@ApiOperation(value = "提交请假审批", notes = "参数除vars外都为必填")
	public ResponseResult<Boolean> startProcess(String proDefKey, Object busObj, Map<String, Object> vars) throws Exception;
}
